package gen.background.core;

import java.io.File;
import java.util.Map;

import gen.background.entity.TableObject;

public abstract class TemplateToGenerate {
	public abstract void generate(TableObject table,File fileName,Map<String,String> params) throws Exception;
	
	public String prevUpCase(String str){
		return str.substring(0,1).toUpperCase()+str.substring(1,str.length());
	}
	
	public String prevDownCase(String str){
		return str.substring(0,1).toLowerCase()+str.substring(1,str.length());
	}
	
}
